3.11.11 \(\int (1-2 x) (2+3 x) (3+5 x) \, dx\)

Optimal. Leaf size=25 \[ -\frac {15 x^4}{2}-\frac {23 x^3}{3}+\frac {7 x^2}{2}+6 x \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {77} \begin {gather*} -\frac {15 x^4}{2}-\frac {23 x^3}{3}+\frac {7 x^2}{2}+6 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)*(2 + 3*x)*(3 + 5*x),x]

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int (1-2 x) (2+3 x) (3+5 x) \, dx &=\int \left (6+7 x-23 x^2-30 x^3\right ) \, dx\\ &=6 x+\frac {7 x^2}{2}-\frac {23 x^3}{3}-\frac {15 x^4}{2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 25, normalized size = 1.00 \begin {gather*} -\frac {15 x^4}{2}-\frac {23 x^3}{3}+\frac {7 x^2}{2}+6 x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)*(2 + 3*x)*(3 + 5*x),x]

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (1-2 x) (2+3 x) (3+5 x) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(1 - 2*x)*(2 + 3*x)*(3 + 5*x),x]

[Out]

IntegrateAlgebraic[(1 - 2*x)*(2 + 3*x)*(3 + 5*x), x]

________________________________________________________________________________________

fricas [A]  time = 1.25, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} x^{4} - \frac {23}{3} x^{3} + \frac {7}{2} x^{2} + 6 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="fricas")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

giac [A]  time = 1.23, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} \, x^{4} - \frac {23}{3} \, x^{3} + \frac {7}{2} \, x^{2} + 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="giac")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 20, normalized size = 0.80 \begin {gather*} -\frac {15}{2} x^{4}-\frac {23}{3} x^{3}+\frac {7}{2} x^{2}+6 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)*(3*x+2)*(5*x+3),x)

[Out]

6*x+7/2*x^2-23/3*x^3-15/2*x^4

________________________________________________________________________________________

maxima [A]  time = 0.56, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15}{2} \, x^{4} - \frac {23}{3} \, x^{3} + \frac {7}{2} \, x^{2} + 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x, algorithm="maxima")

[Out]

-15/2*x^4 - 23/3*x^3 + 7/2*x^2 + 6*x

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 19, normalized size = 0.76 \begin {gather*} -\frac {15\,x^4}{2}-\frac {23\,x^3}{3}+\frac {7\,x^2}{2}+6\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x - 1)*(3*x + 2)*(5*x + 3),x)

[Out]

6*x + (7*x^2)/2 - (23*x^3)/3 - (15*x^4)/2

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 22, normalized size = 0.88 \begin {gather*} - \frac {15 x^{4}}{2} - \frac {23 x^{3}}{3} + \frac {7 x^{2}}{2} + 6 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)*(3+5*x),x)

[Out]

-15*x**4/2 - 23*x**3/3 + 7*x**2/2 + 6*x

________________________________________________________________________________________